package com.projekt2013.hell2peer;

import android.app.IntentService;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class BackgroundService extends IntentService {

    private static final String TAG = "BackgroundService";
    
    // TODO
    private String vote = "trololo";
    
	public BackgroundService() {
		super("Service");
	}

	@Override
	protected void onHandleIntent(Intent intent) {
		Log.d(TAG, "onHandleIntent");
        Bundle extras = intent.getExtras();
        vote = extras.getString("VOTE");
        Log.d(TAG, vote);
	}

}
